import { EggPlugin } from 'egg';
import * as path from 'path';

const plugin: EggPlugin = {
  sequelize: {
    enable: true,
    package: 'egg-sequelize',
  },
  redis: {
    enable: true,
    package: 'egg-redis',
  },
  jwt: {
    enable: true,
    package: "egg-jwt"
  },
  swagger: {
    enable: true,
    path: path.join(__dirname, '../lib/plugin/egg-swagger'),
  },
  cors: {
    enable: true,
    package: 'egg-cors',
  }
}
export default plugin;
